package com.atchangsha.system.constant;

import com.atchangsha.system.common.exception.EnumInterface;

public class SalesBillConstants {
    public enum SalesBillEnum implements EnumInterface{
        ADD_SUCCESS(1901,"生成消费账单成功"),
        ADD_FAIL(-1902,"生成消费账单失败"),
        ;
        private int code;
        private String message;

        SalesBillEnum(int code, String message) {
            this.code = code;
            this.message = message;
        }

        @Override
        public int getCode() {
            return code;
        }

        @Override
        public String getMsg() {
            return message;
        }
    }
}
